#include "gmock/gmock.h"
#include "RetweetCollection.h"
#include "Tweet.h"

using namespace ::testing;

class ARetweetCollectionWithOneTweet : public Test
{
public:
  RetweetCollection collection;
  void SetUp() override
  {
    collection.add(Tweet());
  }
};

TEST_F(ARetweetCollectionWithOneTweet, IsNoLongerEmpty)
{
  ASSERT_FALSE(collection.isEmpty());
}

TEST_F(ARetweetCollectionWithOneTweet, HasSizeOfOne)
{
  ASSERT_THAT(collection.size(), Eq(1u));
}
